﻿using SqlSugar;
using static DataModels.Enums.GeneralEnum;

namespace DataModels.Entities.HomeService
{
    [SugarTable]
    public class HomeServiceProductTagMap
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid UUID { get; set; }

        /// <summary>
        /// 商品UUID
        /// </summary>
        public Guid HomeServiceProductUUID { get; set; }
    
        /// <summary>
        /// 标签UUID
        /// </summary>
        public Guid HomeServiceProductTagUUID { get; set; }

        /// <summary>
        /// 是否启用   
        /// </summary>
        public Status Status { get; set; } = Status.Enable;

        public DateTime CreateTime { get; set; } = DateTime.Now;

        public Guid CreateUserUUID { get; set; }

        public DateTime UpdateTime { get; set; } = DateTime.Now;

        public Guid UpdateUserUUID { get; set; }
    }
}
